/* 🚀 CYBER LOADER v4.0 - 量子级科技界面 */

/* ============================================
   🎨 字体和基础配置
============================================ */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 🌈 量子色彩系统 */
    --quantum-primary: #00d4ff;
    --quantum-secondary: #ff6b9d;
    --quantum-accent: #00ff88;
    --quantum-warning: #ffb800;
    --quantum-danger: #ff4757;
    --quantum-purple: #667eea;
    --quantum-pink: #f093fb;

    /* 🌌 背景渐变 */
    --bg-primary: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #1a1a2e 100%);
    --bg-secondary: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(102, 126, 234, 0.1) 50%, rgba(255, 107, 157, 0.1) 100%);
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-glass: rgba(255, 255, 255, 0.1);

    /* 🔮 玻璃形态效果 */
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --glass-shadow-hover: 0 16px 64px rgba(0, 212, 255, 0.2);

    /* ⚡ 动画时长 */
    --anim-fast: 0.2s;
    --anim-normal: 0.4s;
    --anim-slow: 0.8s;
    --anim-super-slow: 1.5s;

    /* 🎯 字体系统 */
    --font-primary: 'Rajdhani', 'Microsoft YaHei', sans-serif;
    --font-display: 'Orbitron', monospace;
    --font-mono: 'Space Mono', 'Consolas', monospace;
}

/* ============================================
   🌟 全局基础样式
============================================ */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    font-weight: 400;
    line-height: 1.6;
}

/* ============================================
   🌌 超级动态背景系统
============================================ */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    overflow: hidden;
}

.starfield {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
}

.nebula-cloud {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
}

.hologram-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -9;
    animation: gridFloat 25s linear infinite;
}

@keyframes gridFloat {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(60px, 60px);
    }
}

.energy-waves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -8;
    pointer-events: none;
}

.quantum-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -7;
    pointer-events: none;
}

.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -6;
    pointer-events: none;
    opacity: 0.1;
}

/* ============================================
   🔮 加载屏幕系统
============================================ */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
    color: #ffffff;
}

.cyber-logo {
    position: relative;
    margin-bottom: 50px;
}

.logo-ring {
    width: 120px;
    height: 120px;
    border: 3px solid var(--quantum-primary);
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    animation: logoSpin 3s linear infinite;
}

.logo-ring::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 2px solid var(--quantum-secondary);
    border-radius: 50%;
    animation: logoSpin 2s linear infinite reverse;
}

.logo-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    animation: logoPulse 2s ease-in-out infinite;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--quantum-primary);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    margin-bottom: 30px;
}

.loading-bar {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin: 0 auto 20px;
    overflow: hidden;
}

.loading-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--quantum-primary), var(--quantum-secondary));
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
}

.loading-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loadingShine 1.5s infinite;
}

.loading-text {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--quantum-primary);
    margin-bottom: 30px;
}

.system-info {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.info-line {
    animation: infoFade 0.5s ease-in-out;
}

@keyframes logoSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes logoPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes loadingShine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes infoFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   🔐 密码验证弹窗
============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: modalFadeIn var(--anim-normal) ease-out;
}

.modal-container {
    background: var(--bg-glass);
    backdrop-filter: blur(25px);
    border: 2px solid var(--glass-border);
    border-radius: 25px;
    box-shadow: var(--glass-shadow);
    padding: 50px;
    width: 450px;
    max-width: 90%;
    position: relative;
    overflow: hidden;
    animation: modalSlideUp var(--anim-slow) ease-out;
}

.modal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    animation: modalShine 3s infinite;
}

.modal-header {
    text-align: center;
    margin-bottom: 40px;
}

.modal-title {
    font-family: var(--font-display);
    color: var(--quantum-primary);
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 0 25px rgba(0, 212, 255, 0.5);
    margin-bottom: 15px;
    animation: titleGlow 2s ease-in-out infinite;
}

.modal-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 400;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes modalShine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes titleGlow {

    0%,
    100% {
        text-shadow: 0 0 25px rgba(0, 212, 255, 0.5);
    }

    50% {
        text-shadow: 0 0 35px rgba(0, 212, 255, 0.8), 0 0 50px rgba(0, 212, 255, 0.3);
    }
}

/* ============================================
   🏗️ 主容器布局 - 响应式重构版本
============================================ */
.main-container {
    display: flex;
    min-height: 100vh;
    height: 100vh;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* ============================================
   🎛️ 侧边栏系统 - 超级科技风格
============================================ */
.sidebar {
    width: 320px;
    background: var(--bg-glass);
    backdrop-filter: blur(25px);
    border-right: 2px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    z-index: -1;
}

.sidebar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--quantum-primary), var(--quantum-secondary), var(--quantum-primary));
    animation: sidebarGlow 3s ease-in-out infinite;
}

@keyframes sidebarGlow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.sidebar-header {
    padding: 20px 30px;
    text-align: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-icon {
    font-size: 2.5rem;
    margin-right: 15px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--quantum-primary);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}



.version {
    color: var(--quantum-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.user-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

.user-avatar {
    position: relative;
    width: 50px;
    height: 50px;
}

.avatar-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--quantum-primary);
    border-radius: 50%;
}

.avatar-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    background: var(--bg-glass);
    border-radius: 50%;
    width: 80%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-details {
    flex: 1;
    text-align: left;
}

.username {
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 5px;
}

.user-id {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.user-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--quantum-accent);
    font-weight: 500;
}



.system-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--quantum-primary);
    min-width: 35px;
    font-weight: 600;
}

.stat-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--quantum-primary), var(--quantum-accent));
    border-radius: 3px;
    position: relative;
    animation: statPulse 2s ease-in-out infinite;
}

.stat-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: statShine 2s infinite;
}

@keyframes statPulse {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

@keyframes statShine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* ============================================
   📱 菜单系统 - 超级动态
============================================ */
.menu {
    flex: 1;
    padding: 25px 0;
    overflow-y: auto;
    min-height: 500px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    margin: 10px 20px;
    border-radius: 18px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.15), transparent);
}

.menu-item:hover::before {
    left: 100%;
}

.menu-item:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
}

.menu-item.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(102, 126, 234, 0.2));
    border-color: var(--quantum-primary);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
}

.menu-item.active .menu-indicator {
    opacity: 1;
    transform: scale(1);
}

.menu-icon {
    font-size: 1.4rem;
    margin-right: 20px;
    width: 30px;
    text-align: center;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5));
}

.menu-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-title {
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 2px;
}

.menu-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-indicator {
    width: 8px;
    height: 8px;
    background: var(--quantum-primary);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    box-shadow: 0 0 10px var(--quantum-primary);
}

.menu-item:hover .menu-icon {
    filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.8));
}

/* ============================================
   🎨 侧边栏底部
============================================ */
.sidebar-footer {
    padding: 15px 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    position: relative;
}

.footer-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.feature-icon {
    font-size: 1rem;
    color: var(--quantum-primary);
}

.footer-copyright {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.quantum-signature {
    text-align: center;
    position: relative;
}

.signature-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--quantum-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.signature-pulse {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--quantum-primary), transparent);
    margin-top: 10px;
    animation: signaturePulse 2s ease-in-out infinite;
}

@keyframes signaturePulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleX(0.5);
    }

    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* ============================================
   🎨 主内容区域 - 响应式重构版本
============================================ */
.content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    min-height: 0; /* 允许flex子项缩小 */
}

.page {
    display: none;
    flex: 1;
    padding: 24px;
    overflow: hidden;
    min-height: 0; /* 允许flex子项缩小 */
}

.page.active {
    display: flex;
    flex-direction: column;
    min-height: 0; /* 允许flex子项缩小 */
}



/* ============================================
   📊 页面头部系统
============================================ */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 25px;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
}

.page-title {
    display: flex;
    align-items: center;
    gap: 20px;
}

.title-icon {
    font-size: 3rem;
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.6));
}

.title-content h1 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--quantum-primary);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    margin-bottom: 8px;
}

.title-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-stats {
    display: flex;
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    min-width: 120px;
    position: relative;
    bottom: 1vw;
}

.stat-card:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--quantum-accent);
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}





/* ============================================
   🎴 卡片系统 - 现代化重构版本
============================================ */
.card {
    background: linear-gradient(145deg,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(30, 41, 59, 0.9) 50%,
        rgba(15, 23, 42, 0.95) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 0;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.3),
        0 10px 10px -5px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0; /* 允许flex子项缩小 */
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(59, 130, 246, 0.05) 0%,
        rgba(147, 51, 234, 0.05) 50%,
        rgba(236, 72, 153, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.card:hover::before {
    opacity: 1;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    position: relative;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 1px;
}

.card-icon {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.3));
    margin-right: 20px;
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.05);
    filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.5));
}

.card-title-group {
    flex: 1;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
    letter-spacing: -0.025em;
}

.card-subtitle {
    font-size: 0.875rem;
    color: rgba(148, 163, 184, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.card-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #10b981;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--quantum-accent);
    box-shadow: 0 0 15px var(--quantum-accent);
    animation: statusPulse 2s ease-in-out infinite;
}

.status-dot.active {
    background: var(--quantum-accent);
    box-shadow: 0 0 15px var(--quantum-accent);
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* ============================================
   📝 表单系统 - 科技风格
============================================ */
.form-row {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    flex: 1;
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #f1f5f9;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    position: relative;
}

.form-group label::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    color: #f8fafc;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow:
        0 0 0 3px rgba(59, 130, 246, 0.1),
        0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background: rgba(15, 23, 42, 0.9);
    transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(148, 163, 184, 0.6);
}

/* ============================================
   🎛️ 按钮系统 - 现代化重构版本
============================================ */
.btn-group {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.025em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-display);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    backdrop-filter: blur(10px);
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
    box-shadow:
        0 4px 14px 0 rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-2px);
    box-shadow:
        0 8px 25px 0 rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #64748b, #475569);
    color: #ffffff;
    box-shadow:
        0 4px 14px 0 rgba(100, 116, 139, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(100, 116, 139, 0.5);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #475569, #334155);
    transform: translateY(-2px);
    box-shadow:
        0 8px 25px 0 rgba(100, 116, 139, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    box-shadow:
        0 4px 14px 0 rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(16, 185, 129, 0.5);
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow:
        0 8px 25px 0 rgba(16, 185, 129, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    box-shadow:
        0 4px 14px 0 rgba(239, 68, 68, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
    box-shadow:
        0 8px 25px 0 rgba(239, 68, 68, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn:active {
    transform: translateY(0);
    box-shadow:
        0 2px 8px 0 rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   📊 进度条系统 - 现代化重构版本
============================================ */
.progress-container {
    margin: 24px 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.05);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    border-radius: 12px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

.progress-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2.5s infinite ease-in-out;
}

@keyframes progressShine {
    0% {
        left: -100%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.progress-text {
    text-align: center;
    margin-top: 12px;
    color: #e2e8f0;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
}







/* ============================================
   📜 日志系统 - 现代化重构版本
============================================ */
.log-container {
    background: linear-gradient(145deg,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(30, 41, 59, 0.9) 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 20px;
    overflow-y: auto;
    font-family: var(--font-mono);
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow:
        0 10px 25px -5px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin: 0;
    z-index: 1;
    flex: 1;
    min-height: 0; /* 允许flex子项缩小 */
}

.log-container::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #1e293b, #334155);
    padding: 4px 12px;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    letter-spacing: 0.05em;
}

.log-entry {
    margin-bottom: 6px;
    padding: 8px 12px;
    border-left: 3px solid transparent;
    line-height: 1.5;
    position: relative;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.3);
    transition: all 0.2s ease;
}

.log-entry:hover {
    background: rgba(15, 23, 42, 0.5);
    transform: translateX(2px);
}

.log-entry::before {
    content: '';
    position: absolute;
    left: -1.5px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.8;
}



.log-entry.success {
    border-left-color: var(--quantum-accent);
    color: var(--quantum-accent);
    text-shadow: 0 0 5px rgba(0, 255, 136, 0.3);
}

.log-entry.error {
    border-left-color: var(--quantum-danger);
    color: var(--quantum-danger);
    text-shadow: 0 0 5px rgba(255, 71, 87, 0.3);
}

.log-entry.warning {
    border-left-color: var(--quantum-warning);
    color: var(--quantum-warning);
    text-shadow: 0 0 5px rgba(255, 184, 0, 0.3);
}

.log-entry.info {
    border-left-color: var(--quantum-primary);
    color: var(--quantum-primary);
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.3);
}

.log-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-right: 10px;
}

/* ============================================
   🎛️ 导航标签系统 - 现代化重构版本
============================================ */
.nav-tabs {
    display: flex;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 16px;
    padding: 4px;
    margin-bottom: 24px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-tab {
    flex: 1;
    padding: 12px 20px;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #94a3b8;
}

.nav-tab:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #e2e8f0;
    transform: translateY(-1px);
}

.nav-tab.active {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #ffffff;
    box-shadow:
        0 4px 14px 0 rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.nav-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.nav-tab:hover::before {
    left: 100%;
}

/* ============================================
   🎯 状态指示器
============================================ */
.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
}

.status-indicator.online {
    background: var(--quantum-accent);
    box-shadow: 0 0 15px var(--quantum-accent);
}

.status-indicator.offline {
    background: var(--quantum-danger);
    box-shadow: 0 0 15px var(--quantum-danger);
}

.status-indicator.warning {
    background: var(--quantum-warning);
    box-shadow: 0 0 15px var(--quantum-warning);
}

.status-indicator::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid currentColor;
    border-radius: 50%;
    opacity: 0;
}





/* ============================================
   🎨 特殊效果
============================================ */
.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg,
            var(--quantum-primary),
            var(--quantum-secondary),
            var(--quantum-accent),
            var(--quantum-primary));
    z-index: -1;
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--anim-normal) ease;
    filter: blur(10px);
}

.glow-effect:hover::after {
    opacity: 0.6;
}

/* 设置页面的glow-effect特殊处理 - 禁用背景效果但保留其他属性 */
#settingsPage .card.glow-effect::after {
    background: none !important;
    opacity: 0 !important;
}

#settingsPage .card.glow-effect:hover::after {
    background: none !important;
    opacity: 0 !important;
}

/* ============================================
   📱 响应式设计
============================================ */
@media (max-width: 1400px) {
    .sidebar {
        width: 300px;
    }

    .page-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat-card {
        min-width: auto;
    }
}

@media (max-width: 1200px) {
    .sidebar {
        width: 280px;
    }

    .page {
        padding: 30px;
    }

    .page-header {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 2px solid var(--glass-border);
    }

    .sidebar-header {
        padding: 25px 20px;
    }

    .menu {
        display: flex;
        overflow-x: auto;
        padding: 15px 10px;
        gap: 10px;
    }

    .menu-item {
        min-width: 180px;
        margin: 0;
        flex-shrink: 0;
    }

    .page {
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .btn-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-card {
        min-width: 100px;
        padding: 15px;
    }

    .modal-container {
        margin: 20px;
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .page {
        padding: 15px;
    }

    .card {
        padding: 25px;
        margin-bottom: 20px;
    }

    .page-header {
        padding: 20px;
    }

    .title-content h1 {
        font-size: 1.8rem;
    }

    .nav-tab {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
}

/* ============================================
   🎨 滚动条美化 - 已移至文件末尾统一管理
============================================ */

/* ============================================
   🎯 选择文本样式
============================================ */
::selection {
    background: rgba(0, 212, 255, 0.3);
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

::-moz-selection {
    background: rgba(0, 212, 255, 0.3);
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* ============================================
   🚀 加载动画
============================================ */
.loading {
    display: inline-block;
    width: 25px;
    height: 25px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: var(--quantum-primary);
    animation: loadingSpin 1s ease-in-out infinite;
}

@keyframes loadingSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   🎨 内容区域特殊样式
============================================ */
.vmq-content,
.kuaishou-content,
.settings-content,
.help-content {
    display: none;
}

.vmq-content.active,
.kuaishou-content.active,
.settings-content.active,
.help-content.active {
    display: block;
    animation: contentFadeIn var(--anim-normal) ease-out;
}

/* 修复vmqPage的内边距问题 */
#vmqPage.page.active {
    padding: 0 !important;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#vmqPage.page.active .nav-tabs {
    flex-shrink: 0;
    /* 导航标签不缩放 */
    margin: 20px 40px 20px 40px;
}

#vmqPage.page.active .vmq-content {
    flex: 1;
    padding: 0 40px 40px 40px;
    margin: 0;
    box-sizing: border-box;
    /* min-height: 0; */
    /* 允许flex子项缩小 */
}

#vmqPage.page.active .vmq-content .card {
    margin: 0 0 20px 0;
    padding: 35px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 600px; /* 设置最小高度确保日志区域有足够空间 */
}

/* 付费解析页面的日志容器特殊样式 */
#vmqPage .log-container {
    min-height: 300px; /* 确保日志区域有足够的最小高度 */
    flex: 1;
}

#kuaishouPage.page.active .kuaishou-content {
    flex: 1;
    /* padding: 0 40px 40px 40px; */
    margin: 0;
    box-sizing: border-box;
    min-height: 0;
    /* 允许flex子项缩小 */
}

#kuaishouPage.page.active .kuaishou-content .card {
    margin: 0 0 20px 0;
    padding: 35px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 600px; /* 设置最小高度确保日志区域有足够空间 */
}

/* 快手页面的日志容器特殊样式 */
#kuaishouPage .log-container {
    /* min-height: 255px; 确保日志区域有足够的最小高度 */
    flex: 1;
}

/* ============================================
   📜 各页面日志容器统一样式优化
============================================ */

/* ============================================
   📜 页面布局优化 - 移除固定高度限制
============================================ */

/* 所有页面的日志容器统一样式 */
.page .log-container {
    flex: 1;
    /* min-height: 250px; 设置合理的最小高度 */
    overflow-y: auto;
}

/* 所有页面的卡片统一布局 */
.page .card {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 500px; /* 设置合理的最小高度，确保内容有足够空间 */
}

/* 表单区域不占用过多空间 */
.page .form-row,
.page .btn-group,
.page .progress-container {
    flex-shrink: 0;
}

/* 导航标签区域不占用过多空间 */
.page .nav-tabs {
    flex-shrink: 0;
}

/* 设置页面滚动容器 */
.settings-scroll-container {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
    min-height: 0;
}

/* 设置页面特殊布局 */
#settingsPage .card {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

/* 设置页面的标签导航 */
#settingsPage .nav-tabs {
    flex-shrink: 0;
    margin-bottom: 20px;
}

/* 设置内容容器 */
.settings-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

#settingsPage .settings-content {
    display: none;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

#settingsPage .settings-content.active {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

/* ============================================
   📱 响应式布局优化
============================================ */

/* 确保在小屏幕上也能正常显示 */
@media (max-height: 600px) {
    .page {
        padding: 16px;
    }

    .card {
        padding: 16px;
    }

    .card-header {
        margin-bottom: 16px;
        padding-bottom: 12px;
    }
}

/* 超小屏幕优化 */
@media (max-height: 500px) {
    .page {
        padding: 12px;
    }

    .card {
        padding: 12px;
    }

    .btn-group {
        margin-top: 12px;
    }

    .progress-container {
        margin: 12px 0;
    }
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   🎯 特殊元素样式
============================================ */
small {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

h3 {
    color: var(--quantum-primary);
    font-family: var(--font-display);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
    line-height: 1.6;
}

strong {
    color: var(--quantum-accent);
    font-weight: 600;
}

/* ============================================
   🎨 模态框样式优化
============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: modalFadeIn 0.3s ease-out;
}

.modal-container {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--glass-shadow);
    animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--quantum-primary);
    margin-bottom: 8px;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.modal-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    gap: 15px;
}

.modal-footer .btn {
    flex: 1;
    min-width: 100px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ============================================
   🎨 Toast 通知样式
============================================ */
.toast {
    font-family: var(--font-primary);
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    max-width: 400px;
    word-wrap: break-word;
}

.toast-success {
    border-left-color: var(--quantum-accent) !important;
}

.toast-error {
    border-left-color: var(--quantum-danger) !important;
}

.toast-info {
    border-left-color: var(--quantum-primary) !important;
}

/* ============================================
   🎨 响应式优化
============================================ */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .content-area {
        margin-left: 0;
        padding: 15px;
    }

    .form-row {
        flex-direction: column;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .btn-group {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
    }

    .modal-container {
        margin: 20px;
        padding: 20px;
    }

    .page-stats {
        flex-direction: column;
        gap: 10px;
    }

    .stat-card {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .nav-tabs {
        flex-wrap: wrap;
        gap: 5px;
    }

    .nav-tab {
        flex: 1;
        min-width: calc(50% - 5px);
        font-size: 0.8rem;
        padding: 8px 12px;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .page-title h1 {
        font-size: 1.5rem;
    }
}

/* ============================================
   🎨 最终优化
============================================ */
.card-header .card-icon,
.page-title .title-icon {
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.6));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
    }
}



/* ============================================
   🎨 滚动条美化 - 全局样式
============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--quantum-primary), var(--quantum-secondary));
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--quantum-secondary), var(--quantum-primary));
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

/* ============================================
   📜 日志容器专用滚动条样式
============================================ */
.log-container::-webkit-scrollbar {
    width: 10px;
}

.log-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.log-container::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,
            rgba(0, 212, 255, 0.8) 0%,
            rgba(255, 71, 87, 0.8) 50%,
            rgba(0, 255, 136, 0.8) 100%);
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 10px rgba(0, 212, 255, 0.4),
        inset 0 0 5px rgba(255, 255, 255, 0.1);
}

.log-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg,
            rgba(0, 255, 136, 0.9) 0%,
            rgba(0, 212, 255, 0.9) 50%,
            rgba(255, 71, 87, 0.9) 100%);
    box-shadow:
        0 0 15px rgba(0, 212, 255, 0.6),
        inset 0 0 8px rgba(255, 255, 255, 0.2);
}

.log-container::-webkit-scrollbar-corner {
    background: rgba(0, 0, 0, 0.3);
}

/* ============================================
   🌊 数据流背景特效优化
============================================ */
.data-stream {
    /* 确保背景特效在滚动时正确显示 */
    background-attachment: local !important;
    will-change: transform, opacity;
    transition: opacity 0.3s ease;
}

/* 修复滚动时背景特效的显示问题 */
.log-container .data-stream {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 0 !important;
    pointer-events: none !important;
    border-radius: inherit !important;
    overflow: hidden !important;
}

/* 确保日志条目在背景特效之上 */
.log-container .log-entry {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2px);
    border-radius: 8px;
    margin: 5px 0;
    padding: 8px 12px;
}

/* 页面淡入动画 */
body {
    animation: bodyFadeIn 1s ease-out;
}

@keyframes bodyFadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   🍪 Cookie平台区域样式
============================================ */
.cookie-platform-section {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all var(--anim-normal) ease;
}

.cookie-platform-section:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--quantum-primary);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.platform-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.platform-icon {
    font-size: 24px;
    margin-right: 12px;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
    animation: iconPulse 2s ease-in-out infinite;
}

.platform-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--quantum-primary);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    font-family: var(--font-display);
}

.cookie-platform-section .form-group {
    margin-bottom: 15px;
}

.cookie-platform-section .btn-group {
    margin-top: 15px;
    gap: 10px;
}

.cookie-platform-section .btn {
    flex: 1;
    min-width: 140px;
}